package com.snowfield.lb47.lbconfig.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理Header对象 config_frontproxy_header
 * 
 * @author snowfield
 * @date 2024-04-09
 */
public class FrontProxyHeader extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识ID */
    @Excel(name = "标识ID")
    private Long id;

    /** 代理标识ID */
    private Long proxyId;

    /** action */
    @Excel(name = "action")
    private String headerAction;

    /** method */
    @Excel(name = "method")
    private String headerMethod;

    /** 名称 */
    @Excel(name = "名称")
    private String headerName;

    /** 值 */
    @Excel(name = "值")
    private String headerValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProxyId(Long proxyId) 
    {
        this.proxyId = proxyId;
    }

    public Long getProxyId() 
    {
        return proxyId;
    }
    public void setHeaderAction(String headerAction) 
    {
        this.headerAction = headerAction;
    }

    public String getHeaderAction() 
    {
        return headerAction;
    }
    public void setHeaderMethod(String headerMethod) 
    {
        this.headerMethod = headerMethod;
    }

    public String getHeaderMethod() 
    {
        return headerMethod;
    }
    public void setHeaderName(String headerName) 
    {
        this.headerName = headerName;
    }

    public String getHeaderName() 
    {
        return headerName;
    }
    public void setHeaderValue(String headerValue) 
    {
        this.headerValue = headerValue;
    }

    public String getHeaderValue() 
    {
        return headerValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proxyId", getProxyId())
            .append("headerAction", getHeaderAction())
            .append("headerMethod", getHeaderMethod())
            .append("headerName", getHeaderName())
            .append("headerValue", getHeaderValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
